package net.suncaper.demo.service;

import net.suncaper.demo.mapper.RestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class RestServiceImpl implements RestService{

    @Autowired
    private RestMapper restMapper;

    @Override
    public void updateNum(Long cityid, Long hotelid, Long roomid, String date) {
        restMapper.updateNum(cityid,hotelid,roomid,date);
    }
}
